package com.tjtt.tdm.knowledge.dao;

import java.util.List;
import java.util.Map;

import com.tjtt.tdm.base.EntityDAO;
import com.tjtt.tdm.exception.DaoException;
import com.tjtt.tdm.knowledge.bean.KnowFileType;
import com.tjtt.tdm.knowledge.bean.KnowledgeType;

public interface IKnowledgeDao extends EntityDAO<KnowledgeType>{

	/**
	 * 查询所有的分类节点
	 * @return
	 * @throws DaoException
	 */
	public List<KnowledgeType> getAllTypes(Map filterMap) throws DaoException;
	/**
	 * 保存对象
	 * @param o
	 * @throws DaoException
	 */
	public void save(Object o)throws DaoException;
	
	public Long savaKnowNew(KnowFileType knowFileType);
	public KnowFileType findknowFileType(Long biaoqianid);
}
